package com.goodfox.web.generic.login.entity;

import java.io.Serializable;
import java.util.Date;

import com.goodfox.web.generic.provide.annotation.DbEntity;
import com.goodfox.web.generic.provide.annotation.DbField;

@DbEntity(comment="系统登录日志",table="DSYS_LGN_LOG")
public class LoginLog implements Serializable {

	@DbField(comment="实例化UID",meaning=false)
	private static final long serialVersionUID = -4416399617056583010L;

	@DbField(comment="登录日志ID",column="LGN_LOG_ID",pk=true,export=false,javaType="String",dataType="VARCHAR2",required=true,maxLength=50)
	private String lgnLogId;

	@DbField(comment="账户ID",column="ACT_ID",javaType="String",dataType="VARCHAR2",maxLength=50)
	private String actId;

	@DbField(comment="登录IP",column="LGN_IP",javaType="String",dataType="VARCHAR2",maxLength=15)
	private String lgnIp;

	@DbField(comment="登录结果",column="LGN_RESULT",javaType="String",dataType="VARCHAR2",maxLength=2)
	private String lgnResult;

	@DbField(comment="登录描述",column="LGN_DESC",javaType="String",dataType="VARCHAR2",maxLength=100)
	private String lgnDesc;

	@DbField(comment="登录时间",column="LGN_TIME",javaType="Date",dataType="DATE",maxLength=7)
	private Date lgnTime;

	@DbField(comment="登出时间",column="LGT_TIME",javaType="Date",dataType="DATE",maxLength=7)
	private Date lgtTime;

	@DbField(comment="所属机构",column="ACT_ID")
	private String orgName;

	@DbField(comment="登录人员")
	private String memName;

	public String getLgnLogId() {
		return lgnLogId;
	}

	public void setLgnLogId(String lgnLogId) {
		this.lgnLogId = lgnLogId;
	}

	public String getActId() {
		return actId;
	}

	public void setActId(String actId) {
		this.actId = actId;
	}

	public String getLgnIp() {
		return lgnIp;
	}

	public void setLgnIp(String lgnIp) {
		this.lgnIp = lgnIp;
	}

	public String getLgnResult() {
		return lgnResult;
	}

	public void setLgnResult(String lgnResult) {
		this.lgnResult = lgnResult;
	}

	public String getLgnDesc() {
		return lgnDesc;
	}

	public void setLgnDesc(String lgnDesc) {
		this.lgnDesc = lgnDesc;
	}

	public Date getLgnTime() {
		return lgnTime;
	}

	public void setLgnTime(Date lgnTime) {
		this.lgnTime = lgnTime;
	}

	public Date getLgtTime() {
		return lgtTime;
	}

	public void setLgtTime(Date lgtTime) {
		this.lgtTime = lgtTime;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getMemName() {
		return memName;
	}

	public void setMemName(String memName) {
		this.memName = memName;
	}
	
}
